﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"
    x:Class="Microsoft.Samples.Office.UnifiedCommunications.Gadget.SettingsFrame"
    Title="SettingsFrame"
    Loaded="Page_Loaded">
	
    <Border Width="Auto" Height="Auto" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1">
		
        <Grid  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
        
			<Grid HorizontalAlignment="Center" VerticalAlignment="Top" Width="Auto" Height="Auto" Margin="0,12,0,0" x:Name="NameGrid">
                <TextBlock Text="{Binding Path=Text, ElementName=txtName, Mode=Default}" TextWrapping="Wrap" Foreground="#FF181C24" FontFamily="Arial" FontSize="15" Margin="-.5,-1,0,0"/>
                <TextBlock TextWrapping="Wrap" Foreground="#FFFFFFFF" FontFamily="Arial" FontSize="15" x:Name="txtName"/>
        	</Grid>
        
			<Grid Margin="0,50,0,-6" VerticalAlignment="Top" Height="Auto" x:Name="NavGrid">
				<StackPanel d:LayoutOverrides="Height" Margin="10,0,0,6" Height="Auto" Orientation="Horizontal">
					<RadioButton x:Name="rbEWS" Click="RadioButton_Connect_Click" Margin="5,0,0,0" Style="{DynamicResource LinkButton}" Content="EWS" Cursor="Hand"/>
					<RadioButton x:Name="rbFav5" Click="RadioButton_Connect_Click" Margin="25,0,0,0" Style="{DynamicResource LinkButton}" Content="Top 5" Cursor="Hand"/>
					<RadioButton x:Name="rbTop5" Click="RadioButton_Connect_Click" Margin="25,0,0,0" Style="{DynamicResource LinkButton}" Content="Fav 5" Cursor="Hand"/>
                    <RadioButton x:Name="rbDesktopContacts" Click="RadioButton_Connect_Click" Margin="25,0,0,0" Style="{DynamicResource LinkButton}" Content="Desktop" Cursor="Hand" Visibility="Collapsed"/>
					<RadioButton x:Name="rbVersion" Click="RadioButton_Connect_Click" Margin="25,0,0,0" Style="{DynamicResource LinkButton}" Content="Version" Cursor="Hand"/>
				</StackPanel>
				<Path HorizontalAlignment="Stretch" Margin="3,0,3,1" VerticalAlignment="Bottom" Width="Auto" Height="1" Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FF161D25" StrokeThickness="1" Data="M10,105 L96.092973,105"/>
				<Path HorizontalAlignment="Stretch" Margin="3,0,3,0" VerticalAlignment="Bottom" Width="Auto" Height="1" Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FF333945" StrokeThickness="1" Data="M10,105 L96.092973,105"/>
			</Grid>
			<Frame x:Name="PageFrame" HorizontalAlignment="Stretch" Height="Auto" VerticalAlignment="Stretch" Width="Auto" Content="Frame" Margin="10,75,10,10" Source="EWSConfig.xaml"/>
        
		</Grid>
	</Border>
</Page>
